package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 字典信息对象 sys_dict_info
 * 
 * @author ruoyi
 * @date 2022-02-12
 */
public class SysDictInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String recNo;

    /** 字典码 */
    @Excel(name = "字典码")
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 系统字典 */
    @Excel(name = "系统字典")
    private String sysFlag;

    /** 类型编号 */
    @Excel(name = "类型编号")
    private String typeCode;

    /** 顺序号 */
    @Excel(name = "顺序号")
    private String orderNo;

    /** 父字典项 */
    @Excel(name = "父字典项")
    private String parentNo;

    /** 备注 */
    @Excel(name = "备注")
    private String description;

    public void setRecNo(String recNo) 
    {
        this.recNo = recNo;
    }

    public String getRecNo() 
    {
        return recNo;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSysFlag(String sysFlag) 
    {
        this.sysFlag = sysFlag;
    }

    public String getSysFlag() 
    {
        return sysFlag;
    }
    public void setTypeCode(String typeCode) 
    {
        this.typeCode = typeCode;
    }

    public String getTypeCode() 
    {
        return typeCode;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setParentNo(String parentNo) 
    {
        this.parentNo = parentNo;
    }

    public String getParentNo() 
    {
        return parentNo;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recNo", getRecNo())
            .append("code", getCode())
            .append("name", getName())
            .append("sysFlag", getSysFlag())
            .append("typeCode", getTypeCode())
            .append("orderNo", getOrderNo())
            .append("parentNo", getParentNo())
            .append("description", getDescription())
            .toString();
    }
}
